package com.fun_ordering.mapper;

import com.fun_ordering.pojo.MarketingActivity;
import com.fun_ordering.pojo.MarketingActivityExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface MarketingActivityMapper {
    int countByExample(MarketingActivityExample example);

    int deleteByExample(MarketingActivityExample example);

    int deleteByPrimaryKey(Integer actId);

    int insert(MarketingActivity record);

    int insertSelective(MarketingActivity record);

    List<MarketingActivity> selectByExample(MarketingActivityExample example);

    MarketingActivity selectByPrimaryKey(Integer actId);

    int updateByExampleSelective(@Param("record") MarketingActivity record, @Param("example") MarketingActivityExample example);

    int updateByExample(@Param("record") MarketingActivity record, @Param("example") MarketingActivityExample example);

    int updateByPrimaryKeySelective(MarketingActivity record);

    int updateByPrimaryKey(MarketingActivity record);
}